home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / math / gle-3.000 / gle-3 / gle / config.linux < prev    next >
Text File  |  1995-02-07  |  3KB  |  90 lines

  1. #
  2. #              config.i for Linux
  3. #
  4. #     by Axel Rohde (rohde@physik.uni-kiel.d400.de)
  5. #
  6. #       see below for a description of compiler flags
  7.  
  8.  
  9. CC = gcc -O2 -s -m486 -fomit-frame-pointer
  10.  
  11.  
  12. #     For NCURSES 1.8.1 or higher (recommended):
  13. #
  14. # If you use the Slackware distribution, the header files of the ncurses
  15. # library are located in /usr/include/ncurses since Linux has another
  16. # curses library installed as standard
  17. #
  18. LIBS   = -lm -lncurses -lc
  19. XLIBS  = -lm -lX11 -lncurses -lc
  20. CFLAGS = -Dunix -DLINUXFKEY -DGOTSTRDUP -DNOKEYPAD\
  21.      -I/usr/include/ncurses
  22.  
  23.  
  24.  
  25. #     For simple curses (not recommended):
  26. #
  27. #LIBS =     -lm -lcurses -lc 
  28. #XLIBS = -lm -lX11 -lcurses -lc 
  29. #CFLAGS= -Dunix -DNOKEYPAD -DNOATTRIB -DLINUXFKEY -DMANIPCURPOS
  30.  
  31.  
  32. #ifdef windows
  33. XGLE = gle_x
  34. DXO = ../../d_x.o
  35. XSURF = surf_x
  36. #endif
  37.  
  38. GLE_PATH=/usr/local/gle
  39.  
  40. ###########################################################################
  41. #    The meaning of compiler flags:
  42. ###########################################################################
  43. #
  44. # -Dunix
  45. #    The system is unix-like.
  46. #
  47. # -DBIGINDIAN
  48. #    Descibes the byte-ordering of your hardware.
  49. #
  50. # -DINT32
  51. #    Use this flag, if your machine is 64 bit
  52. #
  53. # -DNOKEYPAD
  54. #    Use this flag, if function-keys don't work after compiling gle.
  55. #    Recommended!
  56. #
  57. # -DNOATTRIB
  58. #    Use this flag, if your curses library is dumb an some features
  59. #    like switching attributes (bold, inverse, colours, etc.)
  60. #    are missing. See -DMANIPCURPOS below.
  61. #
  62. #
  63. # -DMANIPCURPOS
  64. #    To let the status-line of MANIP show the currently manipulated
  65. #    field. This is *very* useful, if you have to compile gle with
  66. #    -DNOATTRIB. In this case, you have a dumb curses library, that
  67. #    lacks a couple of features (and if you have time, try to get
  68. #    the ncurses library).
  69. #
  70. # -DNOBACKINGSTORE
  71. #    the usage of 'backingstore' is enabled as default setting to avoid,
  72. #    that the X-Window System forgets the contents of gle_x' graphics
  73. #    window, when it is hidden behind another window. Backingstore
  74. #    needs RAM, therefore set -DNOBACKINGSTORE on systems with little
  75. #    memory e.g. Linux with < 8MB. If the X Window server does not
  76. #    support backingstore, gle_x does not use it.
  77. #
  78. # -DGOTSTRDUP
  79. #    Set this flag, if your library already includes a strdup() call.
  80. #    If you use gcc, this flag should work.
  81. #
  82. # -DLINUXFKEY
  83. #    Usage of F1 - F4 instead of F11 .., in xterm with standard key
  84. #    mapping.
  85. #
  86. # -DLINUX
  87. #    Is obsolete. After compiling GLE under DOS and OS/2 using gcc
  88. #    ports for these system, I replaced '#ifdef LINUX' statements with
  89. #    '#ifdef __GNUC__'. __GNUC__ is automatically defined by GCC.
  90.